package com.jz.community.modulemine.money.model;

import com.jz.community.basecomm.bean.BaseResponseInfo;
import com.jz.community.basecomm.net.rxandroid.OnLoadListener;
import com.jz.community.modulemine.money.bean.MoneyActiveBean;
import com.jz.community.modulemine.money.bean.MoneyDetailBean;
import com.jz.community.modulemine.money.bean.MoneyExchangeCodeBean;
import com.jz.community.modulemine.money.bean.MoneyInfoBean;
import com.jz.community.modulemine.money.bean.MoneyRechargeBean;
import com.jz.community.modulemine.money.bean.PurchaseInfoBean;

public interface MoneyModel {

    void initMoneyData(OnLoadListener<MoneyInfoBean> onLoadListener);

    void initMoneyDetailData(int page, int size, OnLoadListener<MoneyDetailBean> onLoadListener);

    void initMoneyActive(OnLoadListener<MoneyActiveBean> onLoadListener);

    void reChargeMoney(String type, double money, OnLoadListener<MoneyRechargeBean> onLoadListener);

    void initCodeInfo(String code, OnLoadListener<MoneyExchangeCodeBean> onLoadListener);

    void exchangeMoney(String code, OnLoadListener<BaseResponseInfo> onLoadListener);

    void initPurchaseInfo(OnLoadListener<PurchaseInfoBean> onLoadListener);

    void purchaseMoney(String company, String count, String name, String phone, String address, String mail, OnLoadListener<PurchaseInfoBean> onLoadListener);
}
